@import "reset.less";
@import "fnList.less";
@import "varList.less";

/*去除浏览器中的自带默认焦点的边框*/
*:focus {
  outline: none;
}
html,body{
  background-color: white;
}
@{header} {
  .width();
  height:0.44rem;
  .flex();
  //   .flex-justify();
  .flexible(16, font-size);
  .flex-align();

  a {
    .block();
    &:first-of-type {
      .inline-block();
      .flexible(0, font-size);
      .fn-px-rem(width, 50);
      .fn-px-rem(height, 50);
      background: url(../images/icon/sprites.png) no-repeat -0.2rem -0.13rem;
      .backgroundSize(3.75rem, 4.57rem);
    }

    &:nth-child(2) {
      .flexible(40/2, font-size);
      .margin(0);
      .color(#000000);
    }
  }
}

@{section} {
  .flexible(16/2, font-size);
  .padding-space(0, 15);
  .width();
  max-width: 750px;
  .margin(62);
  .register-input {
  action{
     div{
      .flex();
     }
     .control{
      width: 100%;
       select{
        width: 100%;
         .border-none();
        .width();
        height: 100%;
        .flexible(15,font-size);
        background-color: white;
        // height: 0.25rem;
       }
     }
   }
    div {
      &:nth-child(1),
      &:nth-child(3) {
        .color(#666);
        align-items: center;
        .flex();
        justify-content: space-between;
        border-bottom : 1px solid #ccc;
        .width();
        .flexible(80/2, height);
        outline: none;
        .margin-space(15, 0);

        span {
          .inline-block();
          .flexible(27/2, font-size);
          // width : 22%;
          .fn-px-rem(width, 180);
   
        }

        input {
          
          .flexible(13, font-size);
          .flexible(70/2, height);
          // height         : 0.391rem;
          width          : 87.023%;
          .border-none();
        }

        &:nth-child(1) label {
          .flexible(20, width);
          background: url(../images/icon/sprites.png) no-repeat -1.12rem -0.145rem;
          .backgroundSize(3.75rem, 4.57rem);
        }

        label,
        i {
          .flexible(20, width);
          background: url(../images/icon/sprites.png) no-repeat -1.4rem -0.145rem;
          .backgroundSize(3.75rem, 4.57rem);
        }

        i {
          background: url(../images/icon/sprites.png) no-repeat -1.12rem -0.145rem;
          .backgroundSize(3.75rem, 4.57rem);
        }

      }

      &:nth-child(2) {
        .color(#ccc);
        .flex();
        align-items  : center;
        border-bottom: 1px solid #ccc;
        .width();
        .flexible(80/2, height);
        outline : none;


        span {
          .inline-block();
          .flexible(27/2, font-size);
          // width: 22%;
          .fn-px-rem(width, 150);
        }

        input {
          // border: 1px solid b;
          .flexible(24/2, font-size);
          .flexible(70/2, height);
          // height: 0.391rem;
           width: 47.3%;
          border: none;

        }

        .btn-default {
          cursor: pointer;
          color:white;
          border-radius: 0.05rem;
          background-color: rgba(204, 204, 204, 1);
        }
      }
      
    }
  }
  .reg-form div span.color-default{
    display:inline-block;
    color:#666;
  }
  input::-webkit-input-placeholder{
    color:#ccc;
  }
  div #btnSendCode1{
    width:0.95rem;
    margin-bottom:0.07rem;
    font-size:0.14rem;
  }

  .register-btn {

    .flex();
    justify-content: center;
    button {
      background-color: #f7c612;
      .width();
      .border-none();
      border-radius: 0.03rem;
      .color(white);
      height        : 0.41rem;
      margin-top    : 0.64rem;

    }
  }

  .register-ready {
      .flex();
      flex-wrap: nowrap;
      flex-direction: row-reverse;
      align-items: flex-end;
      height:0.99rem;
    p {
    
      a {
        color: white;
        font-size: 0.14rem;
        .block();
        width        : 0.95rem;
        height       : 0.28rem;
        background   : rgba(204, 204, 204, 1);
        text-align: center;
        line-height: 0.28rem;
        // .margin-space(10,0);
      }
    }
  }
}